You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Map the reported name Attack Shark RS3 Ultra to the reserved attackshark-rs3-ultra.png artwork filename.
Add a regression test and document the pending maintainer artwork upload.
The repository artwork guide asks contributors not to include binary images in code PRs. The transparent PNG based on the supplied photo is available separately for an artwork request; a maintainer can review its redistribution terms and upload it to the image bucket.
Verification
npm run build
npm test: 730 passing
npm run size: passing
Device image tests: 56 passing
The mapping can merge before the protocol package release; the artwork name resolves when the app receives that exact display name.
Note
Map Attack Shark RS3 Ultra display name to device artwork
Adds a case-insensitive name match in computeDeviceImageFilename in device-images.ts for the Attack Shark RS3 Ultra, allowing whitespace between "Attack" and "Shark." Matching display names resolve to attackshark-rs3-ultra.png.
Covers the case where the device identifier is null and only the display name is known
Documents in README.md that the artwork file is reserved and a maintainer must upload it after confirming redistribution rights; the panel shows a placeholder until then
Behavioral Change: names matching "Attack Shark RS3 Ultra" now show device artwork instead of the placeholder, once the image is uploaded
Device image lookup now recognizes “Attack Shark RS3 Ultra” and maps it to its designated image. The device panel will continue to show a placeholder until the image is supplied and uploaded after redistribution rights are confirmed.
Documentation
Added guidance noting the image’s pending status and the conditions for making it available.
No actionable comments were generated in the recent review.
Walkthrough
The device image lookup now maps “Attack Shark RS3 Ultra” to attackshark-rs3-ultra.png. A test checks the resulting CDN image. The README notes that the image must be uploaded after redistribution rights are confirmed.
Changes: Device image mapping
Layer / File(s)
Summary
Name fallback and supporting updates src/shared/device-images.ts, src/shared/device-images.test.ts, public/devices/README.md
The lookup matches “Attack Shark RS3 Ultra” case-insensitively and returns attackshark-rs3-ultra.png. A test checks the CDN image. The README records that the image remains a placeholder until a maintainer uploads it after redistribution rights are confirmed.
This adds a name-to-artwork mapping for the Attack Shark RS3 Ultra. Until the image is uploaded the device panel shows the placeholder. The change is small, tested and easy to revert.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "feat(devices): map Attack Shark RS3 Ultra artwork" names the main change. The changeset maps the display name Attack Shark RS3 Ultra to the reserved attackshark-rs3-ultra.png artwork in dev…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "feat(devices): map Attack Shark RS3 Ultra artwork" names the main change. The changeset maps the display name Attack Shark RS3 Ultra to the reserved attackshark-rs3-ultra.png artwork in device-images.ts, adds a regression test, and documents the pending image upload in the README. The title is specific and concise, and it follows a conventional commit style.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between d81f493 and 1d1edbe.
Files selected for processing: 3
public/devices/README.md
src/shared/device-images.test.ts
src/shared/device-images.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Macroscope's review found this PR approvable — Adds an Attack Shark RS3 Ultra artwork mapping and documents that the image awaits redistribution clearance and upload. Existing placeholder fallback limits the impact of the currently unavailable asset to presentation.
Notes:
Your repo's Minimum Blocking Severity is Off, so correctness findings do not automatically block approval.
You can add or adjust custom eligibility rules. Learn more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Attack Shark RS3 Ultrato the reservedattackshark-rs3-ultra.pngartwork filename.The repository artwork guide asks contributors not to include binary images in code PRs. The transparent PNG based on the supplied photo is available separately for an artwork request; a maintainer can review its redistribution terms and upload it to the image bucket.
Verification
npm run buildnpm test: 730 passingnpm run size: passingThe mapping can merge before the protocol package release; the artwork name resolves when the app receives that exact display name.
Note
Map Attack Shark RS3 Ultra display name to device artwork
Adds a case-insensitive name match in
computeDeviceImageFilenamein device-images.ts for the Attack Shark RS3 Ultra, allowing whitespace between "Attack" and "Shark." Matching display names resolve toattackshark-rs3-ultra.png.Macroscope summarized 1d1edbe.
Summary by CodeRabbit